package com.mf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * @Author: lmf
 * @Create: 2024/5/26 18:22
 * Description:  $description
 */
@EnableFeignClients // 开启服务之间的调用
@EnableDiscoveryClient // 开启服务注册发现功能
@SpringBootApplication
@EnableWebSecurity
@EnableMethodSecurity
@MapperScan("com.mf.mapper")
public class LoginApplication {
     public static void main(String[] args) {
         SpringApplication.run(LoginApplication.class,args);
     }
}